<div class="row">
<?=$system_message;?>
<div class="alert-box secondary">
	<h5>Student's Bin</h5>
	<div class="row collapse">
		<div class="large-3 small-3 columns">
			<span class="prefix"><strong>Search Student:</strong></span>
		</div>
		<form action="" method="POST">
		<div class="large-6 small-6 columns">
			<input id="student_enrollment_id" class="searchInput" required autocomplete="off" placeholder="To Search student, Enter Student Name OR ID Number" url="<?=site_url('output/ajax_search_deleted_enrollee');?>" type="text" name="student_search_data" autofocus>
		</div>
		<div class="large-3 small-3 columns">
			<input type="submit" name="search" class="button postfix" value="Search">
		</div>
		</form>
	</div>
	<div style="margin-top:1px;margin-bottom:1px;" class="pagination  pagination-mini  pagination-centered">
		<ul>
		<?foreach($a_z as $v):?>
			<li><a href="<?=site_url('search/deleted_enrollee/'.$v);?>"  class="<?=$active==$v?'btn btn-inverse btn-mini':'';?>">
				<strong><?=strtoupper($v);?></strong></a>
			</li>
		<?endforeach;?>
		</ul>
	</div>
	<hr>
	<span class="label label-inverse" style="font:17px bold;display:inline-block;">Current Deleted Enrollee Total: <strong>(<?=$total;?>)</strong></span>
	<?=$links;?>
</div>
</div>

<div class="row">
	<?if(!empty($students)):?>
		<table class="table table-striped table-hover">
		<thead>
		<tr>
			<th>IDNO</th>
			<th>Student Name</th>
			<th>Block</th>
			<th>Deleted At</th>
			<th>&nbsp;</th>
		</tr>
		</thead>
		<tbody>
		<?foreach($students as $k => $student):?>
			<tr>
				<td><?=$student->idno?></td>
				<td><?=ucwords(strtolower($student->fullname));?></td>
				<td><?=$student->block_name;?></td>
				<td><?=$student->date_enrolled;?></td>
				<td>
					<div class="btn-group left">
					  <a class="btn dropdown-toggle btn-mini btn-inverse" data-toggle="dropdown" href="#">
						<i class="icon-g-more icon-g-white"></i>
					  </a>
					  <ul class="dropdown-menu pull-right">
						<li><a href="<?=site_url('profile/deleted_enrollee/'.$student->enrollment_id);?>">Details</a></li>
						<?//=$student_link($student->enrollment_id);?>
						<?//=$delete_link($student->enrollment_id,$url);?>
						<?//=$finance_link($student->enrollment_id);?>
					  </ul>
					</div>
				</td>
			</tr>
		<?endforeach;?>
		</tbody>
		</table>
	<?else:?>
		<div class="alert-box">
			<i class="icon-exclamation-sign icon-white"></i> Nothing found!
		</div>
	<?endif;?>
	<?=$links;?>
</div>
<script type="text/javascript" src="<?=script_url('custom/fsearch_2');?>"></script>